import instance from '@/utils/request.js'


export const getMerchantList = (params) => {
  return instance({
    url: '/merchant/list',
    method: 'get',
    params
  })
};

export const getMerchantDetail = (id) => {
  return instance({
    url: `/merchant/${id}`,
    method: 'get',
  })
};
